package com.personal.service.impl;

import com.personal.mapper.TClassroomtypeMapper;
import com.personal.pojo.TClassroomtypeExample;
import com.personal.service.ClassroomTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassroomTypeServiceImp implements ClassroomTypeService {
    @Autowired
    private TClassroomtypeMapper classroomtypeMapper;
    @Override
    public List selectAllClassroomType() {
        TClassroomtypeExample example = new TClassroomtypeExample();
        return classroomtypeMapper.selectByExample(example);
    }
}
